all: resource_pool_test.o resource_pool.o
	gcc -Wall -g -o resource_pool_test resource_pool_test.o resource_pool.o -lpthread

resource_pool_test.o: resource_pool_test.c resource_pool.h
	gcc -Wall -g -c resource_pool_test.c

resource_pool.o: resource_pool.c resource_pool.h
	gcc -Wall -g -c resource_pool.c

clean:
	rm *.o resource_pool_test
